public class Triangle {

        public static void main(String args[]){

            class HelloWorld{
                public void hw() {
                    System.out.println("hello world");
                }
            }
            HelloWorld hw = new HelloWorld();
            hw.hw();
        }

}
